﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdvancedException27thMay
{
    [AttributeUsage(AttributeTargets.Method |
        AttributeTargets.Class | AttributeTargets.Interface)]
    class VersionAttribute : System.Attribute
    {
        private int version;

        public VersionAttribute(int version)
        {
            this.version = version;
        }

        public int Version
        {
            get
            {
                return this.version;
            }
        }
    }
}
